package com.alex.statistics.pojo.request.timeSeriesAnalysis;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "移动平均数预测请求参数")
public class MovingAverageRequest {

    @Schema(description = "待分析的数据集合", required = true, example = "[1.2, 2.5, 3.7, 4.1, 5.9]")
    private double[] data;  // 数据集合

    @Schema(description = "移动窗口大小", required = true, example = "3")
    private int windowSize;  // 移动窗口大小
}
